fail

fun fail(message: String): Nothing

Fail with message, logging message as an error and killing the process.

fun fail(exception: Throwable): Nothing

Fail with exception, logging exception as an error and killing the process.